Co-Pilot for Visual Basic

Co-Pilot is a tool that allows you to manipulate VB code and insert declares, user types and constants for the Windows 3.1 API.

To get help on it's features, click on the control of interest in the picture to the left

Changing the path for VB

Changing the path for the SDK Help

For more information or to suggest features for Co-Pilot contact:

ABC Software
31 Magdalen Way
Worle
Weston super Mare
England

Tel	01 934 516714
Compuserve	100342,1207


Rem Button

'REM's a block of text in a VB Code Window

If no text is selected the entire text for the current procedure is affected.


UnRem Button

Removes any 'REM's a block of text in a VB Code Window

The ' character must be the first on a line to be affected by Co-Pilot.

If you don't want your code to be affected by Co-Pilot, use the REM statement or indent the ' character.

If no text is selected the entire text for the current procedure is affected.


XorRem Button

Exclusive Or's the REM'ed lines in a VB Code Window.

The ' character must be the first on a line to be affected by Co-Pilot.

If you don't want your code to be affected by Co-Pilot, use the REM statement or indent the ' character.

If no text is selected the entire text for the current procedure is affected.


Indent Text

Indents a block of text in the VB Code window

Indenting in this version is very basic, but can be useful when dealing with nested 'if' statements.

If no text is selected the entire text for the current procedure is affected.


Search TextBox

This text box is used to search the listbox for an entry.

If you want to insert the SetWindowPos declaration in your code, type 'setw' in here and the list will scroll down to the first entry beginning with 'setw'.

To get help on the current API entry, press F1 while in this listbox.


Insert ListBox

This listbox shows the items that can be pasted into your code.

Double-clicking on an entry will insert it into the current VB Code window.

To get help on the current API entry, press F1 while in this listbox.


List Type Buttons

Selects the type of list to be shown in the Insert ListBox.


Edit Buttons

Selects the Edit function for the current entry in the Insert ListBox.

Clip
Copies the selected code from VB to the Clips listbox. You can name your entry. All clipped code will be saved to disc - to remove clipped code use the Delete button. This button is only available when the Clips list is showing.

Paste
Copies the entry to the VB Code window.

Delete
Deletes the entry in the clips list.This button is only available when the Clips list is showing.


On Top/Normal Button

Toggles the Co-Pilot window between 'Always on Top' and 'Normal'.


Selecting VB

Setting the path to VB

When you first run Co-Pilot, it will check to see if there is a reference to VB.EXE, if there is it will load VB, if there isn't it will ask you to supply the name of the file to run.

Simply select VB.EXE for the file dialog and press OK. Co-Pilot can now run VB.

To change the drive/path you simply delete the current VB.EXE and re-run Co-Pilot.


Selecting SDK Help

Setting the path to SDK Help

When you first run Co-Pilot, it will check to see if there is a reference to the SDK Help File. if there isn't, it will ask you to supply the name of the SDK Help file (WIN31.HLP).

Simply select WIN31.HLP from the file dialog and press OK. Co-Pilot can now supply help for the standard windows declarations.

To change the drive/path you simply delete the current WIN31.HLP and re-run Co-Pilot.